gdk: Document gdk_window_add_filter()+XGenericEvents behavior
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 18 May 2011 19:50:26 +0000 (21:50 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 18 May 2011 20:34:33 +0000 (22:34 +0200)
gdk/gdkwindow.c

index 840fdbf1fa85f22692f129a75f22af01ae886982..0be4656b85e8dfbcf6a5a939968fb3615d661652 100644 (file)
@@ -2410,6 +2410,10 @@ gdk_window_peek_children (GdkWindow *window)
  *
  * See gdk_display_add_client_message_filter() if you are interested
  * in X ClientMessage events.
+ *
+ * If you are interested in X GenericEvents, bear in mind that
+ * XGetEventData() has been already called on the event, and
+ * XFreeEventData() must not be called within @function.
  **/
 void
 gdk_window_add_filter (GdkWindow     *window,